package sz.com.postoffice.jxyzwgcase.service;

import sz.com.postoffice.jxyzwgcase.core.TableDataInfo;
import sz.com.postoffice.jxyzwgcase.pojo.EnterpriseCustomer;
import sz.com.postoffice.jxyzwgcase.pojo.ResourceCustomerRelation;

/**
 * @ClassName EnterpriseCustomerService
 * @Deacription
 * @Author jmx
 * @Date 2020/11/20 17:59
 * @Version 1.0
 */
public interface EnterpriseCustomerService extends BaseService<EnterpriseCustomer>{
    EnterpriseCustomer findByPrimaryKey(Integer id);
    boolean updateRelation(ResourceCustomerRelation relation);
    ResourceCustomerRelation getRelationByResource(String resourceCode);
}
